<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
com.google.template.soy.examples (Soy Complete)
</TITLE>


<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="com.google.template.soy.examples (Soy Complete)";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../com/google/template/soy/data/restricted/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
&nbsp;<A HREF="../../../../../com/google/template/soy/exprparse/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?com/google/template/soy/examples/package-summary.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<H2>
Package com.google.template.soy.examples
</H2>
Examples of template usage in Java.
<P>
<B>See:</B>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="#package_description"><B>Description</B></A>
<P>

<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo</A></B></TD>
<TD>Soy parse info for features.soy.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.BidiGlobalDirSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.BidiGlobalDirSoyTemplateInfo</A></B></TD>
<TD>Template that outputs -1 in a right-to-left page and 1 in a left-to-right page, i.e.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoAutoescapeFalseSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoAutoescapeFalseSoyTemplateInfo</A></B></TD>
<TD>Demo autoescape false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoAutoescapeTrueSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoAutoescapeTrueSoyTemplateInfo</A></B></TD>
<TD>Demo autoescape true.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoBidiSupportSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoBidiSupportSoyTemplateInfo</A></B></TD>
<TD>Demo BiDi support.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoCallWithoutParamSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoCallWithoutParamSoyTemplateInfo</A></B></TD>
<TD>Demo 'call' without 'param's.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoCallWithParamBlockSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoCallWithParamBlockSoyTemplateInfo</A></B></TD>
<TD>Demo 'call' with a 'param' block.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoCallWithParamSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoCallWithParamSoyTemplateInfo</A></B></TD>
<TD>Demo 'call' with 'param's.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoCommentsSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoCommentsSoyTemplateInfo</A></B></TD>
<TD>Demo comments.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoDoubleBracesSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoDoubleBracesSoyTemplateInfo</A></B></TD>
<TD>Demo double braces.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoExpressionsSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoExpressionsSoyTemplateInfo</A></B></TD>
<TD>Demo expressions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoForeachSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoForeachSoyTemplateInfo</A></B></TD>
<TD>Demo 'foreach'.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoForSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoForSoyTemplateInfo</A></B></TD>
<TD>Demo 'for'.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoIfSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoIfSoyTemplateInfo</A></B></TD>
<TD>Demo 'if'.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoLineJoiningSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoLineJoiningSoyTemplateInfo</A></B></TD>
<TD>Demo line joining.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoMsgSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoMsgSoyTemplateInfo</A></B></TD>
<TD>Demo 'msg'.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoParamWithKindAttributeSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoParamWithKindAttributeSoyTemplateInfo</A></B></TD>
<TD>Demo {param} blocks with 'kind' attribute.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoPrintDirectivesSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoPrintDirectivesSoyTemplateInfo</A></B></TD>
<TD>Demo print directives.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoPrintSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoPrintSoyTemplateInfo</A></B></TD>
<TD>Demo 'print'.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoRawTextCommandsSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoRawTextCommandsSoyTemplateInfo</A></B></TD>
<TD>Demo raw text commands.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.DemoSwitchSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.DemoSwitchSoyTemplateInfo</A></B></TD>
<TD>Demo 'switch'.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.ExampleHeaderSoyTemplateInfo.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.ExampleHeaderSoyTemplateInfo</A></B></TD>
<TD>Template for printing the header to add before each example.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.Param.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.Param</A></B></TD>
<TD>Param names from all templates in this Soy file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesSoyInfo.TemplateName.html" title="class in com.google.template.soy.examples">FeaturesSoyInfo.TemplateName</A></B></TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/FeaturesUsage.html" title="class in com.google.template.soy.examples">FeaturesUsage</A></B></TD>
<TD>Usage of the features examples.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../../com/google/template/soy/examples/SimpleUsage.html" title="class in com.google.template.soy.examples">SimpleUsage</A></B></TD>
<TD>Usage of the simple examples.</TD>
</TR>
</TABLE>
&nbsp;

<P>
<A NAME="package_description"><!-- --></A><H2>
Package com.google.template.soy.examples Description
</H2>

<P>
Examples of template usage in Java.
<P>

<P>
<DL>
</DL>
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../com/google/template/soy/data/restricted/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
&nbsp;<A HREF="../../../../../com/google/template/soy/exprparse/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?com/google/template/soy/examples/package-summary.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

        
          <div id="footer">
            <div id="footerlogo" style="float:left">
              <img src="http://www.google.com/images/art.gif"
                   alt="Google colored balls">
            </div>
            <div id="copyright" style="float:left">
              <p>
                &copy; 2009 Google -
                <a href="http://www.google.com/privacy.html">Privacy Policy</a> -
                <a href="http://www.google.com/terms_of_service.html">Terms and Conditions</a> -
                <a href="http://www.google.com/about.html">About Google</a>
              </p>
            </div>
          </div>
        
      
</BODY>
</HTML>
